package com.cn.wanxi.thread;

public class MyRunnable implements Runnable {
    User user;

    public MyRunnable(User user) {
        this.user = user;
    }

    @Override
    public void run() {
        user.setAge(30);
        System.out.println(Thread.currentThread().getName() + "---bbbbb");
    }
}
